--- /dev/null
+From: Matthias Clasen <mclasen@redhat.com>
+Date: Sat, 1 Aug 2020 22:42:25 -0400
+Subject: cups: Don't emit a warning if we can't talk to avahi
+
+The g_warning in this case makes the templates test
+fail if it can't connect to the system bus (as is the
+case for running installed tests in ci).
+
+Origin: upstream, 3.99.1
+---
+ modules/printbackends/gtkprintbackendcups.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules/printbackends/gtkprintbackendcups.c b/modules/printbackends/gtkprintbackendcups.c
+index 6453e82..5ca8049 100644
+--- a/modules/printbackends/gtkprintbackendcups.c
++++ b/modules/printbackends/gtkprintbackendcups.c
+@@ -3413,7 +3413,7 @@ avahi_create_browsers (GObject *source_object,
+ if (!dbus_connection)
+ {
+ if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
+- g_warning ("Couldn't connect to D-Bus system bus, %s", error->message);
++ g_message ("Couldn't connect to D-Bus system bus, avahi printers will not be available: %s", error->message);
+
+ g_error_free (error);
+ return;
--- /dev/null
+From: Matthias Clasen <mclasen@redhat.com>
+Date: Sat, 1 Aug 2020 22:30:06 -0400
+Subject: installed-tests: Fix the icontheme test
+
+We forgot to install some of the icons, causing
+the test to fail.
+
+Origin: upstream, 3.99.1
+---
+ testsuite/gtk/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/testsuite/gtk/meson.build b/testsuite/gtk/meson.build
+index 286c8f3..929d9ca 100644
+--- a/testsuite/gtk/meson.build
++++ b/testsuite/gtk/meson.build
+@@ -271,6 +271,7 @@ if get_option('install-tests')
+ endforeach
+
+ install_subdir('icons', install_dir: testexecdir)
++ install_subdir('icons2', install_dir: testexecdir)
+ install_subdir('ui', install_dir: testexecdir)
+
+ endif
--- /dev/null
+testsuite-Fix-installed-tests.patch
+installed-tests-Fix-the-icontheme-test.patch
+cups-Don-t-emit-a-warning-if-we-can-t-talk-to-avahi.patch
--- /dev/null
+From: Matthias Clasen <mclasen@redhat.com>
+Date: Sat, 1 Aug 2020 21:23:34 -0400
+Subject: testsuite: Fix installed tests
+
+This broken recently, when we converted the tests
+array to a dictionary.
+
+Fixes: #2966
+Origin: upstream, 3.99.1
+---
+ testsuite/gtk/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/testsuite/gtk/meson.build b/testsuite/gtk/meson.build
+index 1238882..286c8f3 100644
+--- a/testsuite/gtk/meson.build
++++ b/testsuite/gtk/meson.build
+@@ -260,7 +260,7 @@ endforeach
+
+ if get_option('install-tests')
+ foreach t : tests
+- test_name = t.get(0)
++ test_name = t.get('name')
+ conf = configuration_data()
+ conf.set('testexecdir', testexecdir)
+ conf.set('test', test_name)